package com.hsgene.product.service.api.impl;

import com.hsgene.common.util.exception.CommonErrorCode;
import com.hsgene.common.util.result.ApiResult;
import com.hsgene.dict.dto.SysDictDto;
import com.hsgene.product.service.api.DictService;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author wangbing
 * @version 1.0, 2018/12/12
 */
@Component
public class DictServiceImpl implements DictService {

    @Override
    public ApiResult<List<SysDictDto>> getDictByIds(String ids) {
        return ApiResult.fail(CommonErrorCode.DICT_SERVICE_NOT_AVAILABLE);
    }

    @Override
    public ApiResult<List<SysDictDto>> sysDicts(String ids) {
        return ApiResult.fail(CommonErrorCode.DICT_SERVICE_NOT_AVAILABLE);
    }

    @Override
    public ApiResult<SysDictDto> getDictById(String id) {
        return ApiResult.fail(CommonErrorCode.DICT_SERVICE_NOT_AVAILABLE);
    }

    @Override
    public ApiResult<List<SysDictDto>> getDictByType(String dictAddtionId) {
        return ApiResult.fail(CommonErrorCode.DICT_SERVICE_NOT_AVAILABLE);
    }
}
